<!--
描述：学校信息
开发人：fwb
开发日期：2017年8月22日
-->
<template lang="pug">
    keep-alive
        kalix-table(bizKey="schoolInfo" title='学校信息' v-bind:targetURL="targetURL" v-bind:bizDialog="bizDialog"
        v-bind:bizSearch="'SchoolInfoSearch'" v-bind:btnList="btnList" v-bind:isFixedColumn="isFixedColumn")
            template(slot="tableColumnSlot")
                el-table-column(prop="xxdm" label="学校代码" align="center" width="120px")
                el-table-column(prop="xxxz" label="学校性质" align="center" width="120px")
                el-table-column(prop="xxlb" label="学校类别" align="center" width="120px")
                el-table-column(prop="zwmc" label="中文名称" align="center" width="200px")
                el-table-column(prop="zwjc" label="中文简称" align="center" width="200px")
                el-table-column(prop="ywmc" label="英文名称" align="center" width="200px")
                el-table-column(prop="ywjc" label="英文简称" align="center" width="200px")
                el-table-column(prop="zgbm" label="主管部门" align="center" width="200px")
                el-table-column(prop="sj" label="书记" align="center" width="120px")
                el-table-column(prop="xz" label="校长" align="center" width="120px")
                el-table-column(prop="dh" label="电话" align="center" width="120px")
                el-table-column(prop="cz" label="传真" align="center" width="120px")
                el-table-column(prop="lxr" label="联系人" align="center" width="120px")
                el-table-column(prop="dzyx" label="电子邮箱" align="center" width="150px")
                el-table-column(prop="wz" label="网址" align="center" width="200px")
                el-table-column(prop="yb" label="邮编" align="center" width="120px")
                el-table-column(prop="dz" label="地址" align="center" width="200px")
</template>

<script type="text/ecmascript-6">
    import {schoolInfoURL, ToolButtonList} from '../../config.toml'

    export default {
        name: 'kalix-admin-schoolinfo',
        data() {
            return {
                btnList: ToolButtonList,
                targetURL: schoolInfoURL,
                bizDialog: [
                    {id: 'view', dialog: 'SchoolInfoView'},
                    {id: 'edit', dialog: 'SchoolInfoAdd'},
                    {id: 'add', dialog: 'SchoolInfoAdd'}
                ],
                isFixedColumn: true
            }
        },
        components: {},
        created() {
        },
        activated() {
            console.log('c%' + this.bizKey + ' student  is activated', 'color:#ff00fe')
        },
        deactivated() {
            console.log(this.bizKey + '  is deactivated')
        },
        methods: {}
    }
</script>

<style scoped lang="stylus">
</style>
